package com.itheima_01;

public class PinbanAthlete extends Athlete implements SpeakEnglish{
    public PinbanAthlete() {
    }

    public PinbanAthlete(String name, int age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println("学习乒乓球");

    }

    @Override
    public void eat() {
        System.out.println("吃猪肉");

    }

    @Override
    public void speak() {
        System.out.println("说英语");
    }
}
